Program Listing for File data.h

Return to documentation for file (codes/cubicle_detect/utils/data.h)

//
// Created by hd on 1/26/18.
//

#ifndef PROJECT_DATA_H
#define PROJECT_DATA_H

#include <stdio.h>
#include <math.h>
#include <vector>
#include <algorithm>
#include <opencv2/core/core.hpp>

namespace Util {

    double median(std::vector<double> &v);

//    double median_mat( cv::Mat channel);

    double median_mat (cv::Mat& I, int x, int y, int h);

}
#endif //PROJECT_DATA_H